﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Zeus.Thunder.Core;

namespace SharpTrainer.Other
{
    class ColorConvertTest : ITestCase
    {
        public void Run()
        {
            Color color = Color.FromArgb(255, 235, 115);
            uint colorInt = ColorConvert.ParseRGB(color);
            
            Console.WriteLine("Blue: {0}", ColorConvert.ParseRGB(Color.Blue));
            Console.WriteLine("Red: {0}", ColorConvert.ParseRGB(Color.Red));
            Console.WriteLine("Green: {0}", ColorConvert.ParseRGB(Color.Green));
            Console.WriteLine("Black: {0}", ColorConvert.ParseRGB(Color.Black));
            Console.WriteLine("White: {0}", ColorConvert.ParseRGB(Color.White));
            Console.WriteLine("Yellow: {0}", ColorConvert.ParseRGB(Color.Yellow));
            Console.WriteLine("Yellow2: {0}", colorInt);
            Console.WriteLine("Maroon: {0}", ColorConvert.ParseRGB(Color.Maroon));
        }
    }
}
